<?php


class getid extends CI_Controller {
    public function __construct() {
        parent::__construct();
        $this->load->library('session');
        $this->load->model('connect');
        $this->load->helper("url");
    }
    
      function index(){
        
        // Gọi hàm trong model
        $data['a'] = $this->connect->getID($_GET['id']);
       
      
        $this->load->view("user",$data);
         
    }
}

?>
